<?php

use coco\App;

define('DOM_ROOT', dirname(__FILE__) . '/');
define('VENDOR_PATH', DOM_ROOT . '../vendor/');
if (!is_file(VENDOR_PATH . "autoload.php")) {
    exit('请先安装依赖');
}
require VENDOR_PATH . "autoload.php";
App::getInstance(DOM_ROOT . '../app/')->run();
